package com.itheima.test1;

/**
 * @Author:gy
 * @Date: 2025/09/01 9:46
 * @Description:
 */
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        //线程启动后需要执行的代码
        for (int i = 0; i < 100; i++) {
            System.out.println("多线程的第二种实现方式"+i);
        }
    }
}
